package wk.demo.fragments.dialogFragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.luoye.bzijkplayer.R;


public class WkPlayerBaseInfoFragment extends Fragment {

    public static WkPlayerBaseInfoFragment getInstance(   ) {
        WkPlayerBaseInfoFragment fragment = new WkPlayerBaseInfoFragment();
        return fragment;
    }

    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return  inflater.inflate(R.layout.fragment_wkcamera_pro, container, false);
    }


    private TextView infoShowTv ;
    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        infoShowTv = view.findViewById(R.id.infoShowTv) ;
        infoShowTv.setText(msg);
    }


    private String msg="" ;
    public void setMsgShow(String temMsg){
        msg= temMsg;
        if(infoShowTv== null){
            return;
        }
        infoShowTv.setText(temMsg);
    }


}
